package com.ruoyi.funding.service;

import java.util.List;
import com.ruoyi.funding.domain.FundingAllocationCopy;

/**
 * 资金拨款记录历史Service接口
 * 
 * @author gw
 * @date 2025-01-15
 */
public interface IFundingAllocationCopyService 
{
    /**
     * 查询资金拨款记录历史
     * 
     * @param historyId 资金拨款记录历史主键
     * @return 资金拨款记录历史
     */
    public FundingAllocationCopy selectFundingAllocationCopyByHistoryId(Long historyId);

    /**
     * 查询资金拨款记录历史列表
     * 
     * @param fundingAllocationCopy 资金拨款记录历史
     * @return 资金拨款记录历史集合
     */
    public List<FundingAllocationCopy> selectFundingAllocationCopyList(FundingAllocationCopy fundingAllocationCopy);

    /**
     * 新增资金拨款记录历史
     * 
     * @param fundingAllocationCopy 资金拨款记录历史
     * @return 结果
     */
    public int insertFundingAllocationCopy(FundingAllocationCopy fundingAllocationCopy);

    /**
     * 修改资金拨款记录历史
     * 
     * @param fundingAllocationCopy 资金拨款记录历史
     * @return 结果
     */
    public int updateFundingAllocationCopy(FundingAllocationCopy fundingAllocationCopy);

    /**
     * 批量删除资金拨款记录历史
     * 
     * @param historyIds 需要删除的资金拨款记录历史主键集合
     * @return 结果
     */
    public int deleteFundingAllocationCopyByHistoryIds(Long[] historyIds);

    /**
     * 删除资金拨款记录历史信息
     * 
     * @param historyId 资金拨款记录历史主键
     * @return 结果
     */
    public int deleteFundingAllocationCopyByHistoryId(Long historyId);


    /**
     * 根据 allocationId 查询历史记录
     */
    List<FundingAllocationCopy> selectFundingAllocationCopyByAllocationId(Long allocationId);

}
